package com.guardchina.framework.util.exception;

import com.guardchina.framework.util.constant.ResultStatus;

/**
 * 描述 系统异常，此类异常是无法程序修复的，只能人工干预
 *
 * @author lwb
 * @since 2020/3/19
 */
public class SystemException extends BaseException {

    public SystemException (String shortMessage){
        super(ResultStatus.SYSTEM_ERROR, shortMessage);
    }

    public SystemException (String shortMessage, String detailMessage){
        super(ResultStatus.SYSTEM_ERROR, shortMessage, detailMessage);
    }

    public SystemException(String shortMessage, Throwable throwable){
        super(ResultStatus.SYSTEM_ERROR, shortMessage, throwable);
    }

    public SystemException(String shortMessage, String detailMessage, Throwable throwable){
        super(ResultStatus.SYSTEM_ERROR, shortMessage, detailMessage, throwable);
    }
}
